//==========================================================================
// Copyright (c) 2000-2008,  Elastos, Inc.  All Rights Reserved.
//==========================================================================

#include <asm.h>

#define INIT_STACK      0x50010000

.extern C_SYMBOL(BspStartup)
.global C_SYMBOL(mainCRTStartup)

.section CODEINIT
C_SYMBOL(mainCRTStartup):

    mov     fp, #0
    ldr     sp, =INIT_STACK

    mov     r0, r1
    bl      C_SYMBOL(BspStartup)

